.wm-space.expose .wm-window {
  transform: translate3d(0, 0, 0);
}
.wm-space.expose .wm-window section.wm-content {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.wm-space.expose .wm-window.wm-window.animated {
  transform: translate3d(0, 0, 0);
  transition: top 0.5s ease-out, left 0.5s ease-out;
}
.wm-space.expose .wm-window:hover {
  box-shadow: 0px 0px 40px #000088;
}

.wm-space.fullscreen .wm-window {
  transform: translate3d(0, 0, 0);
}
.wm-space.fullscreen .wm-window.animated {
  transition: all 0.5s ease-out;
}
.wm-space.fullscreen .wm-window.animated .wm-window-title,
.wm-space.fullscreen .wm-window.animated .wm-window-title h1 {
  transition: all 0.5s ease-out;
}
.wm-space.fullscreen .wm-window-title {
  background: transparent;
  font-size: 40px;
  height: 50px;
  padding: 40px 50px;
}
.wm-space.fullscreen .wm-window-title .wm-button-group {
  display: none;
}
.wm-space.fullscreen .wm-window-title h1 {
  font-size: 40px;
}
.wm-space.fullscreen .wm-content {
  padding: 0 40px;
}
.wm-space.fullscreen .wm-content.animated {
  transition: all 0.5s ease-out;
}
.wm-space.fullscreen .wm-resize {
  display: none;
}

/* Wobbly animation */
@keyframes wobbly {
  0% {
    transform: rotate(4deg);
  }
  50% {
    transform: rotate(-4deg);
  }
  100% {
    transform: rotate(4deg);
  }
}
/* Appear animation */
@keyframes appear {
  0% {
    transform: scale(0, 0);
  }
  80% {
    transform: scale(1.2, 1.2);
  }
  100% {
    transform: rotate(1, 1);
  }
}
/* Close animation */
@keyframes close {
  0% {
    transform: scale(1, 1);
  }
  20% {
    transform: scale(1.2, 1.2);
  }
  100% {
    transform: scale(0, 0);
  }
}
/* Window styles */
.wm-window {
  opacity: 0.98;
  display: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  overflow: hidden;
  position: absolute;
  min-width: 200px;
  min-height: 60px;
  background-color: #fff;
  box-shadow: 0 0 12px 1px rgba(0, 0, 0, 0.6);
  transform: translate3d(0, 0, 0);
}
.wm-window .wm-window-overlay {
  display: none;
}
.wm-window .wm-window-box {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  height: 100%;
  min-height: 60px;
  width: 100%;
}
.wm-window .wm-window-box .wm-window-title {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row;
      flex-direction: row;
  -ms-flex-align: center;
      align-items: center;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  height: 36px;
  min-height: 36px;
  background-color: #365d98;
  border: 0;
  padding: 0 8px;
  overflow: hidden;
  /*button.wm-close {
				background: no-repeat url();
			}

			button.wm-maximize {
				background: no-repeat url();
			}

			button.wm-minimize {
				background: no-repeat url();
			}*/
}
.wm-window .wm-window-box .wm-window-title h1 {
  -ms-flex: 1;
      flex: 1;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row;
      flex-direction: row;
  -ms-flex-align: center;
      align-items: center;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  cursor: default;
  padding: 0;
  padding-left: 8px;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
}
.wm-window .wm-window-box .wm-window-title .wm-button-group {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row;
      flex-direction: row;
  -ms-flex-align: center;
      align-items: center;
  padding-left: 2px;
}
.wm-window .wm-window-box .wm-window-title button {
  display: inline-block;
  border: 0;
  background-repeat: no-repeat;
  background-color: #365d98;
  color: #FFFFFF;
  margin: 0;
  margin-left: 3px;
  padding: 0;
  width: 15px;
  height: 15px;
  opacity: .7;
}
.wm-window .wm-window-box .wm-window-title button:hover {
  opacity: 1;
}
.wm-window .wm-window-box .wm-window-title button.wm-close {
  background: url() no-repeat 1px 1px;
}
.wm-window .wm-window-box .wm-window-title button.wm-maximize {
  background: url() no-repeat 1px 1px;
}
.wm-window .wm-window-box .wm-window-title button.wm-minimize {
  background: url() no-repeat 1px 1px;
}
.wm-window .wm-window-box header.wm-window-title.hide {
  display: none;
}
.wm-window .wm-window-box section.wm-content {
  display: block;
  -ms-flex: 1;
      flex: 1;
  min-height: 60px;
  overflow-x: hidden;
  overflow-y: auto;
}
.wm-window .wm-window-box button.wm-resize {
  position: absolute;
  bottom: 0;
  right: 4px;
  background: transparent;
  border: 0;
  margin: 0;
  padding: 0;
  cursor: se-resize;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  background: url() no-repeat;
  height: 15px;
  width: 10px;
}
.wm-window.disabled * {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.wm-window.disabled .wm-window-overlay {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  z-index: 30000;
}
.wm-window.inactive * {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.wm-window.inactive header.wm-window-title {
  background-color: #888;
}
.wm-window.inactive header.wm-window-title h1 {
  color: #bbb;
}
.wm-window.active .wm-content * {
  -webkit-user-select: text;
     -moz-user-select: text;
      -ms-user-select: text;
          user-select: text;
}
.wm-window.noresizable .wm-window-box header.wm-window-title button.wm-maximize,
.wm-window.noresizable .wm-window-box header.wm-window-title button.wm-minimize {
  display: none;
}
.wm-window.noresizable .wm-window-box section.wm-content {
  overflow-y: hidden;
}
.wm-window.noresizable .wm-window-box button.wm-resize {
  display: none;
}
.wm-window.animated.minimizing,
.wm-window.animated.maximazing {
  transform: translate3d(0, 0, 0);
  transition: all 0.5s ease-out;
}
.wm-window.animated.closing {
  animation: close 0.3s 1 ease-in forwards;
}
.wm-window.closing {
  animation: close;
}
.wm-window.animated.opening {
  animation: appear 0.4s 1 ease-out forwards;
}
.wm-window.opening {
  animation: appear;
}
.wm-window.animated.resizing {
  transition: none;
}
.wm-window.animated.move {
  animation: wobbly 0.5s 0.2s infinite;
}
.wm-window.animated.move * {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.wm-window.closed {
  display: none;
}
.no-events .wm-content {
  pointer-events: none;
}

.wm-space {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  cursor: default;
}
.wm-space .wm-overlay {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  background-color: #000;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.5s ease-out;
}
